package org.com.FeignClient;

import Entity.Comment;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "Service-Comment", path = "/comment")
public interface CommentFeign {
    @PostMapping("/save")
     Boolean save(@RequestBody Comment comment);
}
